import bpy
bl_addon_info={
    'name':'TLS Export',
    'author':'DingOunan',
    'version':(1,0,0),
    'blender':(2,5,6),
    'location':'File > Export',
    'description':'TLS Export',
    'warning':'',
    'wiki_url':'',
    'tracker_url':'tls.googlecode.com',
    'category':'Import-Export'
}

class TLS_Export(bpy.types.Operator):
    bl_idname = bl_addon_info['name']
    bl_label = bl_addon_info['name']
    bl_description = bl_addon_info['name']


    def execute(self,context):
        print("Hello")
        return 'FINISHED'

def func(self,context):
    self.layout.operator(TLS_Export.bl_idname,text='TLS Export')

def register():
    bpy.types.INFO_MT_file_export.append(func)

def unregister():
    bpy.type.INFO_MT_file_export.remove(func)

if __name__ == '__main__':
    register()

